package com.dt.global.web.mar.articleQuery;

import org.hibernate.HibernateException;

import com.dt.components.page.model.PageModel;
import com.dt.global.entitys.bo.TWebCoreArticle;

/**
 * 栏目新闻查询MAR
 * @author MWG
 *
 */
public interface ArticleQueryMar {
	  /**
	   * 根据栏目id分页查询数据
	   */
	  public PageModel getTWebCoreArticleChannelId(PageModel pm,String channelId)throws HibernateException;
	  /**
	   * 根据新闻Id查询新闻详细信息
	   */
	  public TWebCoreArticle getTWebCoreArticleId(String articleId)throws HibernateException;
	  /**
	   * 根据标题模糊查询
	   */
	  public PageModel getTWebCoreArticleTitle(PageModel pm,String title,String pid)throws HibernateException;
	  /**
	   * 根据栏目id分页查看代表风采
	   */
	  public PageModel getdaibiaofcPageQuery(PageModel pm,String channelId)throws HibernateException;
}
